﻿@using OA.Models

@model 调班申请单

@{
    Layout = "~/Views/Shared/_ApplicationFormApply.cshtml";
}

@Html.HiddenFor(d => d.Id)

<tbody>
    <tr>
        <td>工号</td>
        <td>
            @Html.HiddenFor(d => d.ApplicantId)
            @Html.DisplayTextFor(d => d.ApplicantId)
        </td>
        <td>申请人</td>
        <td colspan="3">
            @Html.HiddenFor(d => d.Applicant)
            @Html.DisplayTextFor(d => d.Applicant)
        </td>
    </tr>
    <tr>
        <td rowspan="2">调班时间</td>
        <td colspan="2">@Html.DisplayNameFor(d => d.原上班时间)</td>
        <td colspan="3">@Html.DisplayNameFor(d => d.调至上班时间)</td>
    </tr>
    <tr>
        <td colspan="2">
            @(
                Html.Kendo().DateTimePickerFor(d => d.原上班时间)
                .Culture("zh-CHS")
            )
        </td>
        <td colspan="3">
            @(
                Html.Kendo().DateTimePickerFor(d => d.调至上班时间)
                .Culture("zh-CHS")
            )
        </td>
    </tr>
    <tr>
        <td>调班理由</td>
        <td colspan="5">
            @Html.Kendo().TextBoxFor(d => d.调班理由)
        </td>
    </tr>
</tbody>